You are here

class ClassWithNonPublicAttributes in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/_files/ClassWithNonPublicAttributes.php \ClassWithNonPublicAttributes

Hierarchy

Expanded class hierarchy of ClassWithNonPublicAttributes

23 string references to 'ClassWithNonPublicAttributes'
Framework_AssertTest::testAssertClassHasAttributeThrowsExceptionIfAttributeNameIsNotValid in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertClassHasAttribute @expectedException PHPUnit_Framework_Exception
Framework_AssertTest::testAssertClassHasStaticAttributeThrowsExceptionIfAttributeNameIsNotValid in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertClassHasStaticAttribute @expectedException PHPUnit_Framework_Exception
Framework_AssertTest::testAssertClassNotHasAttributeThrowsExceptionIfAttributeNameIsNotValid in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertClassNotHasAttribute @expectedException PHPUnit_Framework_Exception
Framework_AssertTest::testAssertClassNotHasStaticAttributeThrowsExceptionIfAttributeNameIsNotValid in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertClassNotHasStaticAttribute @expectedException PHPUnit_Framework_Exception
Framework_AssertTest::testAssertObjectHasAttributeThrowsExceptionIfAttributeNameIsNotValid in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertObjectHasAttribute @expectedException PHPUnit_Framework_Exception

... See full list

File

vendor/phpunit/phpunit/tests/_files/ClassWithNonPublicAttributes.php, line 14

View source
class ClassWithNonPublicAttributes extends ParentClassWithProtectedAttributes {
  public static $publicStaticAttribute = 'foo';
  protected static $protectedStaticAttribute = 'bar';
  protected static $privateStaticAttribute = 'baz';
  public $publicAttribute = 'foo';
  public $foo = 1;
  public $bar = 2;
  protected $protectedAttribute = 'bar';
  protected $privateAttribute = 'baz';
  public $publicArray = array(
    'foo',
  );
  protected $protectedArray = array(
    'bar',
  );
  protected $privateArray = array(
    'baz',
  );

}

Members