Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 1464
Zeile 88... Zeile 88...
88
    }
88
    }
Zeile 89... Zeile 89...
89
 
89
 
90
    /**
90
    /**
91
     * Indicate that the resource should have creation and storage routes.
91
     * Indicate that the resource should have creation and storage routes.
92
     *
-
 
93
     * @param  bool  $creatable
92
     *
94
     * @return $this
93
     * @return $this
95
     */
94
     */
96
    public function creatable($creatable = true)
95
    public function creatable()
97
    {
96
    {
Zeile 98... Zeile 97...
98
        $this->options['creatable'] = $creatable;
97
        $this->options['creatable'] = true;
99
 
98
 
Zeile 100... Zeile 99...
100
        return $this;
99
        return $this;
101
    }
100
    }
102
 
101
 
103
    /**
-
 
104
     * Indicate that the resource should have a deletion route.
102
    /**
105
     *
103
     * Indicate that the resource should have a deletion route.
106
     * @param  bool  $destroyable
104
     *
107
     * @return $this
105
     * @return $this
108
     */
106
     */
Zeile 109... Zeile 107...
109
    public function destroyable($destroyable = true)
107
    public function destroyable()
110
    {
108
    {
Zeile 111... Zeile 109...
111
        $this->options['destroyable'] = $destroyable;
109
        $this->options['destroyable'] = true;