protected function source() { switch ($this->type()) { case 'plugin': case 'field': return $this->tmp; break; case 'tag': return $this->tmp . '/' . $this->name() . '.php'; break; } }