- var_dump: documentation ( source)
<?php
namespace Kernel\Application\Internal;
class Runner
{
protected $shell;
public function __construct(ShellRunnable $runable)
{
$this->shell = $runnable;
}
}
class ShellRunnable
{
}
$l = new ShellRunnable();
$a = new Runner($l);
var_dump($a);