for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This software package is licensed under New BSD license.
*
* @package maslosoft/zamm
* @licence New BSD
* @copyright Copyright (c) Peter Maselkowski <[email protected]>
*/
namespace Maslosoft\Zamm;
use Maslosoft\Zamm\Interfaces\SourceAccessorInterface;
* Source extractor for code fragments.
* This class extracts source code for specified code elements.
* @author Piotr Maselkowski <pmaselkowski at gmail.com>
class Source implements SourceAccessorInterface
{
use Traits\SourceMagic;
public function __construct($className = null)
}
* Should return source of method `$name` or static function
public function __call($name, $arguments)
* Should return source of property `$name`
public function __get($name)
$name
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
* Should return source of working class
public function __toString()
public static function __callStatic($name, $arguments)
public function method($name)
public function property($name)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.