Reflection/File.php

Last updated: 07/05/2017

Rylai\Reflection

Uses

Rylai\Reflection\File
File abstraction

From raw file name eg `/var/www/SomeClass.php`

Properties
Methods
  • public __construct($path,$root)
    • @param string path
    • @param string root

    Constructing instance

    File name will be cut from difference between path to file and root path eg for path as `/var/www/test/sample/Test.php` and root as `/var/www/test/` , name will be sample/Test.php

  • public getName()
    • @return string

    Get file name

    This will be used for identify file in report

  • public getReflection()
    • @return \ReflectionFile

    Get file reflection

    File reflection about its properties , methods ...