mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:50:03 +08:00
19 lines
265 B
PHP
19 lines
265 B
PHP
<?php
|
|
class Model {
|
|
/**
|
|
* getResult
|
|
*
|
|
* @return Model[]
|
|
*/
|
|
public function getResult() {
|
|
}
|
|
}
|
|
$someModel = new Model();
|
|
$results = $someModel->getResult(
|
|
1
|
|
);
|
|
|
|
foreach( $results as $result ) {
|
|
$foo = $result->hoge;
|
|
$foo = $result->
|