src/Charcoal/Source/DatabaseSource.php
public function loadItem($ident, StorableInterface $item = null)
    {
        $key = $this->model()->key();

        return $this->loadItemFromKey($key, $ident, $item);
    }
public function loadItem($ident, StorableInterface $item = null)
    {
        $key = $this->model()->key();

        return $this->loadItemFromKey($key, $ident, $item);
    }
public function loadItem ( $ ident , StorableInterface $ item = null ) { $ key = $ this -> model ( ) -> key ( ) ; return $ this -> loadItemFromKey ( $ key , $ ident , $ item ) ; }
Load item by the primary column.

@param  mixed             $ident Ident can be any scalar value.
@param  StorableInterface $item  Optional item to load into.
@return StorableInterface
Load item by the primary column .