RequirementsPathResult example


    public function check()
    {
        $result = [];

        foreach ($this->files as $file) {
            $entry['name'] = $file;
            $entry['existsAndWriteable'] = $this->checkExits($file);
            $result[] = $entry;
        }

        return new RequirementsPathResult($result);
    }

    /** * @param string $sourceFile * * @return string[] */
    private function readList($sourceFile)
    {
        $xml = simplexml_load_file($sourceFile);
        $list = [];
        
Home | Imprint | This part of the site doesn't use cookies.