/** * Generated from @assert ('/usr/lib/php/Pear.php') === '/usr/lib/php'. */ public function testGetDir() { $this->assertSame('/usr/lib/php', Inspekt::getDir('/usr/lib/php/Pear.php')); }
/** * Returns dirname(value). * * @param mixed $key * @return mixed * * @tag filter */ function getDir($key) { if (!$this->keyExists($key)) { return false; } return Inspekt::getDir($this->_getValue($key)); }
/** * Returns dirname(value). * * @param mixed $key * @return mixed * @throws Exception * @tag filter */ public function getDir($key) { return Inspekt::getDir($this->getValue($key)); }