PHP Класс SensioLabs\DeprecationDetector\FileInfo\PhpFileInfo

Наследование: extends Symfony\Component\Finder\SplFileInfo, implements SensioLabs\DeprecationDetector\FileInfo\DeprecationCollectionInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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[]

Открытые методы

Метод Описание
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[]

Описание методов

addClassDeprecation() публичный Метод

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

addClassUsage() публичный Метод

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

addDeprecatedLanguageUsage() публичный Метод

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

addFunctionDeprecation() публичный Метод

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

addFunctionUsage() публичный Метод

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

addInterfaceDeprecation() публичный Метод

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

addInterfaceUsage() публичный Метод

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

addMethodDefinition() публичный Метод

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

addMethodDeprecation() публичный Метод

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

addMethodUsage() публичный Метод

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

addSuperTypeUsage() публичный Метод

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

addTypeHintUsage() публичный Метод

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

classDeprecations() публичный Метод

public classDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation[]
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation[]

classUsages() публичный Метод

public classUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]

create() публичный статический Метод

public static create ( Symfony\Component\Finder\SplFileInfo $file ) : self
$file Symfony\Component\Finder\SplFileInfo
Результат self

functionDeprecations() публичный Метод

public functionDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]

getClassDeprecation() публичный Метод

public getClassDeprecation ( string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
$className string
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation

getDeprecatedLanguageUsages() публичный Метод

public getDeprecatedLanguageUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]

getFunctionUsages() публичный Метод

public getFunctionUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]

getInterfaceDeprecation() публичный Метод

public getInterfaceDeprecation ( string $interfaceName ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation
$interfaceName string
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\ClassDeprecation

getInterfaceUsageByClass() публичный Метод

public getInterfaceUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
$className
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

getMethodDeprecation() публичный Метод

public getMethodDeprecation ( string $methodName, string $className ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation
$methodName string
$className string
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation

getSuperTypeUsageByClass() публичный Метод

public getSuperTypeUsageByClass ( $className ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage | null
$className
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage | null

hasClassDeprecation() публичный Метод

public hasClassDeprecation ( string $className ) : boolean
$className string
Результат boolean

hasClassDeprecations() публичный Метод

public hasClassDeprecations ( ) : boolean
Результат boolean

hasDeprecations() публичный Метод

public hasDeprecations ( ) : boolean
Результат boolean

hasFunctionDeprecations() публичный Метод

public hasFunctionDeprecations ( ) : boolean
Результат boolean

hasInterfaceDeprecation() публичный Метод

public hasInterfaceDeprecation ( string $interfaceName ) : boolean
$interfaceName string
Результат boolean

hasInterfaceDeprecations() публичный Метод

public hasInterfaceDeprecations ( ) : boolean
Результат boolean

hasInterfaceUsageByClass() публичный Метод

public hasInterfaceUsageByClass ( $className ) : boolean
$className
Результат boolean

hasMethodDeprecation() публичный Метод

public hasMethodDeprecation ( string $methodName, string $className ) : boolean
$methodName string
$className string
Результат boolean

hasMethodDeprecations() публичный Метод

public hasMethodDeprecations ( ) : boolean
Результат boolean

hasSuperTypeUsageByClass() публичный Метод

public hasSuperTypeUsageByClass ( $className ) : boolean
$className
Результат boolean

interfaceDeprecations() публичный Метод

public interfaceDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation[]
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\InterfaceDeprecation[]

interfaceUsages() публичный Метод

public interfaceUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

methodDefinitions() публичный Метод

public methodDefinitions ( ) : SensioLabs\DeprecationDetector\FileInfo\MethodDefinition[]
Результат SensioLabs\DeprecationDetector\FileInfo\MethodDefinition[]

methodDeprecations() публичный Метод

public methodDeprecations ( ) : SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

methodUsages() публичный Метод

public methodUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]

superTypeUsages() публичный Метод

public superTypeUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\SuperTypeUsage[]

typeHintUsages() публичный Метод

public typeHintUsages ( ) : SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]

Описание свойств

$classDeprecations защищенное свойство

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $classDeprecations
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$classUsages защищенное свойство

protected ClassUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $classUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\ClassUsage[]

$deprecatedLanguageUsages защищенное свойство

protected DeprecatedLanguageUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $deprecatedLanguageUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\DeprecatedLanguageUsage[]

$functionDeprecations защищенное свойство

protected FunctionDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $functionDeprecations
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\FunctionDeprecation[]

$functionUsages защищенное свойство

protected FunctionUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $functionUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\FunctionUsage[]

$interfaceDeprecations защищенное свойство

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $interfaceDeprecations
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$interfaceUsages защищенное свойство

protected InterfaceUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $interfaceUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\InterfaceUsage[]

$methodDefinitions защищенное свойство

protected array $methodDefinitions
Результат array

$methodDeprecations защищенное свойство

protected MethodDeprecation[],SensioLabs\DeprecationDetector\FileInfo\Deprecation $methodDeprecations
Результат SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation[]

$methodUsages защищенное свойство

protected MethodUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $methodUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\MethodUsage[]

$superTypeUsages защищенное свойство

protected array $superTypeUsages
Результат array

$typeHintUsages защищенное свойство

protected TypeHintUsage[],SensioLabs\DeprecationDetector\FileInfo\Usage $typeHintUsages
Результат SensioLabs\DeprecationDetector\FileInfo\Usage\TypeHintUsage[]