public function getCheckers($checker)
    {
        switch ($checker) {
            case static::FILE_EXISTS:
                return [$this->buildFileExistsChecker()];
            case static::FILE_DOES_NOT_EXISTS:
                return [$this->buildFileDoesNotExistsChecker()];
            case static::DIRECTORY_EXISTS:
                return [
                    $this->buildFileExistsChecker(),
                    $this->buildIsDirectoryChecker(),
                ];
            case static::DIRECTORY_DOES_NOT_EXISTS:
                return [
                    $this->buildFileDoesNotExistsChecker(),
                    $this->buildIsDirectoryChecker(),
                ];
        }

        return [];
    }
public function getCheckers($checker)
    {
        switch ($checker) {
            case static::FILE_EXISTS:
                return [$this->buildFileExistsChecker()];
            case static::FILE_DOES_NOT_EXISTS:
                return [$this->buildFileDoesNotExistsChecker()];
            case static::DIRECTORY_EXISTS:
                return [
                    $this->buildFileExistsChecker(),
                    $this->buildIsDirectoryChecker(),
                ];
            case static::DIRECTORY_DOES_NOT_EXISTS:
                return [
                    $this->buildFileDoesNotExistsChecker(),
                    $this->buildIsDirectoryChecker(),
                ];
        }

        return [];
    }
public function getCheckers ( $ checker ) { switch ( $ checker ) { case static :: FILE_EXISTS : return [ $ this -> buildFileExistsChecker ( ) ] ; case static :: FILE_DOES_NOT_EXISTS : return [ $ this -> buildFileDoesNotExistsChecker ( ) ] ; case static :: DIRECTORY_EXISTS : return [ $ this -> buildFileExistsChecker ( ) , $ this -> buildIsDirectoryChecker ( ) , ] ; case static :: DIRECTORY_DOES_NOT_EXISTS : return [ $ this -> buildFileDoesNotExistsChecker ( ) , $ this -> buildIsDirectoryChecker ( ) , ] ; } return [ ] ; }
Get checkers.

@return array
Get checkers .