Method | Description | |
---|---|---|
__construct ( Locker\Repository\Statement\Repository $statement_repo ) | Constructs a new StatementStoreController. | |
store ( $options ) : Response | Stores (POSTs) a newly created statement in storage. | |
update ( $options ) : Response | Updates (PUTs) Statement with the given id. |
Method | Description | |
---|---|---|
createStatements ( $options, callable $modifier = null ) : AssocArray | Creates statements from the content of the request. | |
getAuthority ( $client ) | ||
getCORSHeaders ( ) : [String | Gets the CORS headers. | |
getParts ( ) : ['content' | Deals with multipart requests. |
public __construct ( Locker\Repository\Statement\Repository $statement_repo ) | ||
$statement_repo | Locker\Repository\Statement\Repository |
public store ( $options ) : Response | ||
return | Response |
public update ( $options ) : Response | ||
return | Response |