In short, no. The common approach is to either train your team on how to evolve against your libraries, or reverse engineer. The first solution can be made quite simply by creating documents with phpdoc and setting visibility in docbloc comments using @visibility and, of course, documenting classes. Secondly, I would not be able to comment without knowing a little more details.
class Helper
{
public function doStuff()
{
}
}
class LibraryInterface
{
public function doStuff()
{
$this->helper->doStuff();
}
}
source
share