public function find($id)
    {
        return Arr::first($this->items, function ($key, Contract $skill) use ($id) {
            return $skill->getId() === $id;
        }, null);
    }
public function find($id)
    {
        return Arr::first($this->items, function ($key, Contract $skill) use ($id) {
            return $skill->getId() === $id;
        }, null);
    }
public function find ( $ id ) { return Arr :: first ( $ this -> items , function ( $ key , Contract $ skill ) use ( $ id ) { return $ skill -> getId ( ) === $ id ; } , null ) ; }
Find a skill by its ID

@param $id
@return \Burthorpe\Runescape\RS3\Skills\Contract|null
Find a skill by its ID