Lines Matching refs:attributeName

1194      * @param string $attributeName
1198 public static function assertClassHasAttribute($attributeName, $className, $message = '') argument
1200 if (!is_string($attributeName)) {
1204 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1213 $attributeName
1222 * @param string $attributeName
1226 public static function assertClassNotHasAttribute($attributeName, $className, $message = '') argument
1228 if (!is_string($attributeName)) {
1232 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1241 new PHPUnit_Framework_Constraint_ClassHasAttribute($attributeName)
1250 * @param string $attributeName
1254 public static function assertClassHasStaticAttribute($attributeName, $className, $message = '') argument
1256 if (!is_string($attributeName)) {
1260 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1269 $attributeName
1278 * @param string $attributeName
1282 … public static function assertClassNotHasStaticAttribute($attributeName, $className, $message = '') argument
1284 if (!is_string($attributeName)) {
1288 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1298 $attributeName
1308 * @param string $attributeName
1312 public static function assertObjectHasAttribute($attributeName, $object, $message = '') argument
1314 if (!is_string($attributeName)) {
1318 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1327 $attributeName
1336 * @param string $attributeName
1340 public static function assertObjectNotHasAttribute($attributeName, $object, $message = '') argument
1342 if (!is_string($attributeName)) {
1346 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
1355 new PHPUnit_Framework_Constraint_ObjectHasAttribute($attributeName)
1465 * @param string $attributeName
1469 …public static function assertAttributeInstanceOf($expected, $attributeName, $classOrObject, $messa… argument
1473 static::readAttribute($classOrObject, $attributeName),
1502 * @param string $attributeName
1506 …public static function assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $me… argument
1510 static::readAttribute($classOrObject, $attributeName),
1539 * @param string $attributeName
1543 …public static function assertAttributeInternalType($expected, $attributeName, $classOrObject, $mes… argument
1547 static::readAttribute($classOrObject, $attributeName),
1576 * @param string $attributeName
1580 …public static function assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $… argument
1584 static::readAttribute($classOrObject, $attributeName),
2371 * @param string $attributeName
2375 public static function attribute(PHPUnit_Framework_Constraint $constraint, $attributeName) argument
2379 $attributeName
2463 * @param string $attributeName
2472 …public static function attributeEqualTo($attributeName, $value, $delta = 0.0, $maxDepth = 10, $can… argument
2482 $attributeName
2568 * @param string $attributeName
2572 public static function classHasAttribute($attributeName) argument
2575 $attributeName
2583 * @param string $attributeName
2587 public static function classHasStaticAttribute($attributeName) argument
2590 $attributeName
2597 * @param string $attributeName
2601 public static function objectHasAttribute($attributeName) argument
2604 $attributeName
2762 * @param string $attributeName
2768 public static function readAttribute($classOrObject, $attributeName) argument
2770 if (!is_string($attributeName)) {
2774 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
2788 $attributeName
2793 $attributeName
2808 * @param string $attributeName
2814 public static function getStaticAttribute($className, $attributeName) argument
2824 if (!is_string($attributeName)) {
2828 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
2837 if (array_key_exists($attributeName, $attributes)) {
2838 return $attributes[$attributeName];
2847 $attributeName
2857 * @param string $attributeName
2863 public static function getObjectAttribute($object, $attributeName) argument
2869 if (!is_string($attributeName)) {
2873 if (!preg_match('/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $attributeName)) {
2878 $attribute = new ReflectionProperty($object, $attributeName);
2884 $attribute = $reflector->getProperty($attributeName);
2893 return $object->$attributeName;
2906 $attributeName