PHP Class SensioLabs\DeprecationDetector\FileInfo\PhpFileInfo

Inheritance: extends Symfony\Component\Finder\SplFileInfo, implements SensioLabs\DeprecationDetector\FileInfo\DeprecationCollectionInterface
Afficher le fichier Open project: sensiolabs-de/deprecation-detector Class Usage Examples

Protected Properties

Свойство Type Description
$classDeprecations SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
$classUsages SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]
$deprecatedLanguageUsages SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]
$functionDeprecations SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]
$functionUsages SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]
$interfaceDeprecations SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
$interfaceUsages SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
$methodDefinitions array
$methodDeprecations SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
$methodUsages SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]
$superTypeUsages array
$typeHintUsages SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]

Méthodes publiques

Méthode Description
addClassDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation $classDeprecation )
addClassUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage $class )
addDeprecatedLanguageUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage $deprecatedLanguageUsage )
addFunctionDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation $deprecation )
addFunctionUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage $usage )
addInterfaceDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation $interfaceDeprecation )
addInterfaceUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage $interface )
addMethodDefinition ( SensioLabs\DeprecationDetector\FileInfo\MethodDefinition $methodDefinition )
addMethodDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation $methodDeprecation )
addMethodUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage $methodUsage )
addSuperTypeUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage $superTypeUsage )
addTypeHintUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage $typeHintUsage )
classDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation[]
classUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]
create ( Symfony\Component\Finder\SplFileInfo $file ) : self
functionDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]
getClassDeprecation ( string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
getDeprecatedLanguageUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]
getFunctionUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]
getInterfaceDeprecation ( string $interfaceName ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
getInterfaceUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
getMethodDeprecation ( string $methodName, string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation
getSuperTypeUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage | null
hasClassDeprecation ( string $className ) : boolean
hasClassDeprecations ( ) : boolean
hasDeprecations ( ) : boolean
hasFunctionDeprecations ( ) : boolean
hasInterfaceDeprecation ( string $interfaceName ) : boolean
hasInterfaceDeprecations ( ) : boolean
hasInterfaceUsageByClass ( $className ) : boolean
hasMethodDeprecation ( string $methodName, string $className ) : boolean
hasMethodDeprecations ( ) : boolean
hasSuperTypeUsageByClass ( $className ) : boolean
interfaceDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation[]
interfaceUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
methodDefinitions ( ) : SensioLabs\DeprecationDetector\FileInfo\MethodDefinition[]
methodDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
methodUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]
superTypeUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage[]
typeHintUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]

Method Details

addClassDeprecation() public méthode

public addClassDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation $classDeprecation )
$classDeprecation SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation

addClassUsage() public méthode

public addClassUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage $class )
$class SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage

addDeprecatedLanguageUsage() public méthode

public addDeprecatedLanguageUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage $deprecatedLanguageUsage )
$deprecatedLanguageUsage SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage

addFunctionDeprecation() public méthode

public addFunctionDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation $deprecation )
$deprecation SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation

addFunctionUsage() public méthode

public addFunctionUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage $usage )
$usage SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage

addInterfaceDeprecation() public méthode

public addInterfaceDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation $interfaceDeprecation )
$interfaceDeprecation SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation

addInterfaceUsage() public méthode

public addInterfaceUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage $interface )
$interface SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage

addMethodDefinition() public méthode

public addMethodDefinition ( SensioLabs\DeprecationDetector\FileInfo\MethodDefinition $methodDefinition )
$methodDefinition SensioLabs\DeprecationDetector\FileInfo\MethodDefinition

addMethodDeprecation() public méthode

public addMethodDeprecation ( SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation $methodDeprecation )
$methodDeprecation SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation

addMethodUsage() public méthode

public addMethodUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage $methodUsage )
$methodUsage SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage

addSuperTypeUsage() public méthode

public addSuperTypeUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage $superTypeUsage )
$superTypeUsage SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage

addTypeHintUsage() public méthode

public addTypeHintUsage ( SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage $typeHintUsage )
$typeHintUsage SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage

classDeprecations() public méthode

public classDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation[]

classUsages() public méthode

public classUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]

create() public static méthode

public static create ( Symfony\Component\Finder\SplFileInfo $file ) : self
$file Symfony\Component\Finder\SplFileInfo
Résultat self

functionDeprecations() public méthode

public functionDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]

getClassDeprecation() public méthode

public getClassDeprecation ( string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
$className string
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation

getDeprecatedLanguageUsages() public méthode

public getDeprecatedLanguageUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]

getFunctionUsages() public méthode

public getFunctionUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]

getInterfaceDeprecation() public méthode

public getInterfaceDeprecation ( string $interfaceName ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
$interfaceName string
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation

getInterfaceUsageByClass() public méthode

public getInterfaceUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
$className
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

getMethodDeprecation() public méthode

public getMethodDeprecation ( string $methodName, string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation
$methodName string
$className string
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation

getSuperTypeUsageByClass() public méthode

public getSuperTypeUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage | null
$className
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage | null

hasClassDeprecation() public méthode

public hasClassDeprecation ( string $className ) : boolean
$className string
Résultat boolean

hasClassDeprecations() public méthode

public hasClassDeprecations ( ) : boolean
Résultat boolean

hasDeprecations() public méthode

public hasDeprecations ( ) : boolean
Résultat boolean

hasFunctionDeprecations() public méthode

public hasFunctionDeprecations ( ) : boolean
Résultat boolean

hasInterfaceDeprecation() public méthode

public hasInterfaceDeprecation ( string $interfaceName ) : boolean
$interfaceName string
Résultat boolean

hasInterfaceDeprecations() public méthode

public hasInterfaceDeprecations ( ) : boolean
Résultat boolean

hasInterfaceUsageByClass() public méthode

public hasInterfaceUsageByClass ( $className ) : boolean
$className
Résultat boolean

hasMethodDeprecation() public méthode

public hasMethodDeprecation ( string $methodName, string $className ) : boolean
$methodName string
$className string
Résultat boolean

hasMethodDeprecations() public méthode

public hasMethodDeprecations ( ) : boolean
Résultat boolean

hasSuperTypeUsageByClass() public méthode

public hasSuperTypeUsageByClass ( $className ) : boolean
$className
Résultat boolean

interfaceDeprecations() public méthode

public interfaceDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation[]

interfaceUsages() public méthode

public interfaceUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

methodDefinitions() public méthode

public methodDefinitions ( ) : SensioLabs\DeprecationDetector\FileInfo\MethodDefinition[]
Résultat SensioLabs\DeprecationDetector\FileInfo\MethodDefinition[]

methodDeprecations() public méthode

public methodDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

methodUsages() public méthode

public methodUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]

superTypeUsages() public méthode

public superTypeUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage[]

typeHintUsages() public méthode

public typeHintUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]

Property Details

$classDeprecations protected_oe property

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $classDeprecations
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$classUsages protected_oe property

protected ClassUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $classUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]

$deprecatedLanguageUsages protected_oe property

protected DeprecatedLanguageUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $deprecatedLanguageUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]

$functionDeprecations protected_oe property

protected FunctionDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $functionDeprecations
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]

$functionUsages protected_oe property

protected FunctionUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $functionUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]

$interfaceDeprecations protected_oe property

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $interfaceDeprecations
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$interfaceUsages protected_oe property

protected InterfaceUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $interfaceUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

$methodDefinitions protected_oe property

protected array $methodDefinitions
Résultat array

$methodDeprecations protected_oe property

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $methodDeprecations
Résultat SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$methodUsages protected_oe property

protected MethodUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $methodUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]

$superTypeUsages protected_oe property

protected array $superTypeUsages
Résultat array

$typeHintUsages protected_oe property

protected TypeHintUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $typeHintUsages
Résultat SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]