Learner\Services\Image\ManagerTrait::delete PHP Метод

delete() публичный Метод

Delete avatar by path.
public delete ( string $path )
$path string
    public function delete($path)
    {
        $fullPath = $this->getFullpath($path);
        if (is_file($fullPath)) {
            unlink($fullPath);
        }
    }