/** * testIsPrimitiveReturnsFalseByDefault * * @return void */ public function testIsPrimitiveReturnsFalseByDefault() { $type = new PHP_Depend_Code_ASTType(); self::assertFalse($type->isPrimitive()); }
/** * Constructs a new array type node. */ public function __construct() { parent::__construct(self::IMAGE); }
/** * Magic method which returns the names of all those properties that should * be cached for this node instance. * * @return array * @since 0.10.0 */ public function __sleep() { return array_merge(array('context'), parent::__sleep()); }