src/domain/base/SkillDomainTrait.php
public function read($id) {
		// read
		$model = $this->get($id);

		// check existence
		if ($model === null) {
			return new NotFound(['message' => 'Skill not found.']);
		}

		return new Found(['model' => $model]);
	}
public function read($id) {
		// read
		$model = $this->get($id);

		// check existence
		if ($model === null) {
			return new NotFound(['message' => 'Skill not found.']);
		}

		return new Found(['model' => $model]);
	}
public function read ( $ id ) { // read $ model = $ this -> get ( $ id ) ; // check existence if ( $ model === null ) { return new NotFound ( [ 'message' => 'Skill not found.' ] ) ; } return new Found ( [ 'model' => $ model ] ) ; }
Returns one Skill with the given id

@param mixed $id
@return PayloadInterface
Returns one Skill with the given id