protected function setOriginPath($filter)
    {
        $this->originPath = (has_filter($filter) ?  apply_filters($filter, rtrim($this->originPath)) : get_stylesheet_directory() . '/' . $this->pathDefault);
    }