src/Client.php
public function fetchPics()
    {
        $message = sprintf(
            '%s() is deprecated and will be removed in version 3;'
                . ' use Krizalys\Onedrive\Client::getSpecialFolder() instead.',
            __METHOD__
        );

        @trigger_error($message, E_USER_DEPRECATED);
        $item    = $this->getSpecialFolder('photos');
        $options = $this->buildOptions($item);

        return new Folder($this, $item->id, $options);
    }
public function fetchPics()
    {
        $message = sprintf(
            '%s() is deprecated and will be removed in version 3;'
                . ' use Krizalys\Onedrive\Client::getSpecialFolder() instead.',
            __METHOD__
        );

        @trigger_error($message, E_USER_DEPRECATED);
        $item    = $this->getSpecialFolder('photos');
        $options = $this->buildOptions($item);

        return new Folder($this, $item->id, $options);
    }
public function fetchPics ( ) { $ message = sprintf ( '%s() is deprecated and will be removed in version 3;' . ' use Krizalys\Onedrive\Client::getSpecialFolder() instead.' , __METHOD__ ) ; @ trigger_error ( $ message , E_USER_DEPRECATED ) ; $ item = $ this -> getSpecialFolder ( 'photos' ) ; $ options = $ this -> buildOptions ( $ item ) ; return new Folder ( $ this , $ item -> id , $ options ) ; }
Fetches the "Pictures" folder from the current OneDrive account.

@return Folder
The "Pictures" folder, as a Folder instance referencing to the
OneDrive "Pictures" folder.

@deprecated Use Krizalys\Onedrive\Client::getSpecialFolder() instead.
Fetches the Pictures folder from the current OneDrive account .