PHP Class PHPExiftool\ClassUtils\Builder

Author: Romain Neutron - [email protected]
显示文件 Open project: romainneutron/PHPExiftool

Protected Properties

Property Type Description
$classAnnotations
$classname
$extends
$license
$namespace
$properties
$uses

Public Methods

Method Description
__construct ( $namespace, $classname, array $properties, $extends = null, array $uses = [], array $classAnnotations = [] )
generateContent ( )
getClassname ( )
getNamespace ( )
getPathfile ( )
getProperty ( $property )
setProperty ( $property, $value )
write ( $force = false )

Protected Methods

Method Description
checkPHPVarName ( $var )
generateClassProperties ( array $properties, $depth )
quote ( $value )

Method Details

__construct() public method

public __construct ( $namespace, $classname, array $properties, $extends = null, array $uses = [], array $classAnnotations = [] )
$properties array
$uses array
$classAnnotations array

checkPHPVarName() protected method

protected checkPHPVarName ( $var )

generateClassProperties() protected method

protected generateClassProperties ( array $properties, $depth )
$properties array

generateContent() public method

public generateContent ( )

getClassname() public method

public getClassname ( )

getNamespace() public method

public getNamespace ( )

getPathfile() public method

public getPathfile ( )

getProperty() public method

public getProperty ( $property )

quote() protected method

protected quote ( $value )

setProperty() public method

public setProperty ( $property, $value )

write() public method

public write ( $force = false )

Property Details

$classAnnotations protected_oe property

protected $classAnnotations

$classname protected_oe property

protected $classname

$extends protected_oe property

protected $extends

$license protected_oe property

protected $license

$namespace protected_oe property

protected $namespace

$properties protected_oe property

protected $properties

$uses protected_oe property

protected $uses